package com.zhixiang.xaec.entity.safecheck.safeduty;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name = "safeduty_SafeDuty")
@Comment("安全值班")
public class SafeDuty  extends BaseEntity {

	@Comment("序号")
	@Column(length=200)
	private String 	serialNumber;
	
	@Comment("值班人员")
	@Column(length=200)
	private String  dutyPerson;
	
	@Comment("值班日期")
	@Column(length=200)
	private Date  dutyDate;
	
	@Comment("值班部位")
	@Column(length=200)
	private String dutyPart;
	
	@Comment("情况")
	@Column(length=1000)
	private String situations;

	public String getSerialNumber() {
		return serialNumber;
	}

	public void setSerialNumber(String serialNumber) {
		this.serialNumber = serialNumber;
	}

	public String getDutyPerson() {
		return dutyPerson;
	}

	public void setDutyPerson(String dutyPerson) {
		this.dutyPerson = dutyPerson;
	}
    @JSON(format="YYYY-MM-dd")
	public Date getDutyDate() {
		return dutyDate;
	}

	public void setDutyDate(Date dutyDate) {
		this.dutyDate = dutyDate;
	}

	public String getDutyPart() {
		return dutyPart;
	}

	public void setDutyPart(String dutyPart) {
		this.dutyPart = dutyPart;
	}

	public String getSituations() {
		return situations;
	}

	public void setSituations(String situations) {
		this.situations = situations;
	}
	
	
	
	
}
